package indi.zhifa.study2024.nbr.business.report.consign.entity.response;

import indi.zhifa.study2024.nbr.business.report.consign.entity.mapperOut.ConsignMapperOut;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class ConsignGroupBySalesReportResponse extends BaseConsignReportResponse {
    @Schema(title = "业务员Id")
    Long salesId;
    @Schema(title = "业务员名字")
    String salesName;

    @Override
    protected void onInitWithMapperOut(ConsignMapperOut pConsignMapperOut) {
        salesId = pConsignMapperOut.getSalesId();
        salesName = pConsignMapperOut.getSalesName();
    }
}
